package com.zx.server.mapper;

import java.util.Map;

public interface QydjYptMmService {

    public String SM3HMac(String plainData);

    public String SM4CBCEnc(String plainData);

    public String SM4CBCDec(String encryptData);

    public Map<String,Object> getRandom(String username);

    public boolean rawVerify(String username, String signData, String cert);

    public boolean rawVerify2(String username, String signData);

    public Map<String,Object> SM4CBCEncByIdOrUsername(String type, String id, String usrname);

    public Map<String,Object> SM3HMacById(String type, String id, String ispl);

    public Map<String,Object> SM4CBCEncById(String type, String id);

    public Map<String,Object> saveYzmOrRandom(String type, String username, String random, String yzm, String operate);

    public Map<String,Object> saveCertinfo(String username, String certinfo);

    public Map<String,Object> getYzmOrRandom(String operate, String username);

    public Map<String,Object> getSfYzmZh(String username);

    public Map<String,Object> verifyYzm(String yzm,String username);

    public Map<String,Object> checkSM3HMa(String id, String type);
}
